Class: Spoom::RBS::Comment
- Inherits:
-
Object
- Object
- Spoom::RBS::Comment
- Defined in:
- lib/spoom/rbs.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
: Prism::Location.
-
#string ⇒ Object
readonly
: String.
Instance Method Summary collapse
-
#initialize(string, location) ⇒ Comment
constructor
: (String, Prism::Location) -> void.
Constructor Details
#initialize(string, location) ⇒ Comment
: (String, Prism::Location) -> void
65 66 67 68 |
# File 'lib/spoom/rbs.rb', line 65 def initialize(string, location) @string = string @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly)
: Prism::Location
62 63 64 |
# File 'lib/spoom/rbs.rb', line 62 def location @location end |
#string ⇒ Object (readonly)
: String
59 60 61 |
# File 'lib/spoom/rbs.rb', line 59 def string @string end |