Class: Vernacular::ASTModifier::BuilderExtension
- Inherits:
-
Struct
- Object
- Struct
- Vernacular::ASTModifier::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
6 7 8 |
# File 'lib/vernacular/ast_modifier.rb', line 6 def block @block end |
#method ⇒ Object
Returns the value of attribute method
6 7 8 |
# File 'lib/vernacular/ast_modifier.rb', line 6 def method @method end |
Instance Method Details
#components ⇒ Object
8 9 10 |
# File 'lib/vernacular/ast_modifier.rb', line 8 def components [method, block.source_location] end |