Skip to content

class Prop internal

Represents an AST prop

Examples

ruby
# string template usage
node { :prop="func" }
ruby
# builder DSL usage
prop :prop do
  "some-value"
end

#initialize(name, value, computed) internal

Constructor for the Func

Arguments

  • name - the name of the event (String)
  • value - the func value for the event (Hokusai::Func)
  • computed - is this prop computed? (boolean)

#computed? internal

Is the prop computed?

Returns

Returns boolean