Class: Spoom::RBS::Comment
- Inherits:
-
Object
- Object
- Spoom::RBS::Comment
show all
- Defined in:
- lib/spoom/rbs.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(string, location) ⇒ Comment
Returns a new instance of Comment.
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
62
63
64
|
# File 'lib/spoom/rbs.rb', line 62
def location
@location
end
|
#string ⇒ Object
59
60
61
|
# File 'lib/spoom/rbs.rb', line 59
def string
@string
end
|