Class: Gelauto::Rbi
- Inherits:
-
Object
- Object
- Gelauto::Rbi
- Defined in:
- lib/gelauto/rbi.rb
Instance Attribute Summary collapse
-
#method_index ⇒ Object
readonly
Returns the value of attribute method_index.
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(method_index, paths = Gelauto.paths) ⇒ Rbi
constructor
A new instance of Rbi.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#method_index ⇒ Object (readonly)
Returns the value of attribute method_index.
3 4 5 |
# File 'lib/gelauto/rbi.rb', line 3 def method_index @method_index end |
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
3 4 5 |
# File 'lib/gelauto/rbi.rb', line 3 def paths @paths end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/gelauto/rbi.rb', line 10 def to_s StringIO.new.tap { |io| compose(method_groups, io) }.string end |