Class: RBS::AST::Ruby::Declarations::Base
- Inherits:
-
Object
- Object
- RBS::AST::Ruby::Declarations::Base
- Includes:
- Helpers::ConstantHelper, Helpers::LocationHelper
- Defined in:
- lib/rbs/ast/ruby/declarations.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#buffer ⇒ Object
readonly
Returns the value of attribute buffer.
Instance Method Summary collapse
-
#initialize(buffer) ⇒ Base
constructor
A new instance of Base.
Methods included from Helpers::LocationHelper
Methods included from Helpers::ConstantHelper
Constructor Details
#initialize(buffer) ⇒ Base
Returns a new instance of Base.
13 14 15 |
# File 'lib/rbs/ast/ruby/declarations.rb', line 13 def initialize(buffer) @buffer = buffer end |
Instance Attribute Details
#buffer ⇒ Object (readonly)
Returns the value of attribute buffer.
8 9 10 |
# File 'lib/rbs/ast/ruby/declarations.rb', line 8 def buffer @buffer end |