Class: Rbind::GeneratorRuby::HelperBase
- Inherits:
-
Object
- Object
- Rbind::GeneratorRuby::HelperBase
- Defined in:
- lib/rbind/generator_ruby.rb
Direct Known Subclasses
RBindHelper, RTypeHelper, RTypeHelper::OverloadedOperationHelper, RTypeTemplateHelper
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #binding ⇒ Object
- #full_name ⇒ Object
-
#initialize(name, root) ⇒ HelperBase
constructor
A new instance of HelperBase.
Constructor Details
#initialize(name, root) ⇒ HelperBase
206 207 208 209 |
# File 'lib/rbind/generator_ruby.rb', line 206 def initialize(name,root) @name = name.to_s @root = root end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
205 206 207 |
# File 'lib/rbind/generator_ruby.rb', line 205 def name @name end |
Instance Method Details
#binding ⇒ Object
215 216 217 |
# File 'lib/rbind/generator_ruby.rb', line 215 def binding Kernel.binding end |
#full_name ⇒ Object
211 212 213 |
# File 'lib/rbind/generator_ruby.rb', line 211 def full_name @root.full_name end |