Class: Vernacular::AST::Modifier::BuilderExtension
- Inherits:
-
Struct
- Object
- Struct
- Vernacular::AST::Modifier::BuilderExtension
- Defined in:
- lib/vernacular/ast/modifier.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#method ⇒ Object
Returns the value of attribute method.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
9 10 11 |
# File 'lib/vernacular/ast/modifier.rb', line 9 def block @block end |
#method ⇒ Object
Returns the value of attribute method
9 10 11 |
# File 'lib/vernacular/ast/modifier.rb', line 9 def method @method end |
Instance Method Details
#components ⇒ Object
11 12 13 |
# File 'lib/vernacular/ast/modifier.rb', line 11 def components [method, block.source_location] end |