Class: Glimmer::DSL::Opal::ColumnPropertiesExpression

Inherits:
StaticExpression
  • Object
show all
Defined in:
lib/glimmer/dsl/opal/column_properties_expression.rb

Overview

Responsible for providing a readable keyword (command symbol) to capture and return column properties for use in TreeItemsDataBindingCommandHandler

Instance Method Summary collapse

Instance Method Details

#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
13
14
# File 'lib/glimmer/dsl/opal/column_properties_expression.rb', line 10

def can_interpret?(parent, keyword, *args, &block)
  keyword == 'column_properties' and
    block.nil? and
    parent.is_a?(Glimmer::SWT::TableProxy)
end

#interpret(parent, keyword, *args, &block) ⇒ Object



16
17
18
# File 'lib/glimmer/dsl/opal/column_properties_expression.rb', line 16

def interpret(parent, keyword, *args, &block)
  args
end