Class: Glimmer::DSL::ShineDataBindingExpression
- Inherits:
-
Expression
- Object
- Expression
- Glimmer::DSL::ShineDataBindingExpression
- Defined in:
- lib/glimmer/dsl/shine_data_binding_expression.rb
Instance Method Summary collapse
-
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
Including class can override can_interpret? and call super to augment it.
- #interpret(parent, keyword, *args, &block) ⇒ Object
Methods inherited from Expression
#add_content, #around, dsl, #textual?
Instance Method Details
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
Including class can override can_interpret? and call super to augment it
29 30 31 32 |
# File 'lib/glimmer/dsl/shine_data_binding_expression.rb', line 29 def can_interpret?(parent, keyword, *args, &block) args.size == 0 and block.nil? end |
#interpret(parent, keyword, *args, &block) ⇒ Object
34 35 36 |
# File 'lib/glimmer/dsl/shine_data_binding_expression.rb', line 34 def interpret(parent, keyword, *args, &block) Glimmer::DataBinding::Shine.new(parent, keyword) end |