Class: Method::Node
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(file_, line_) ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize(file_, line_) ⇒ Node
Returns a new instance of Node.
30 31 32 33 |
# File 'lib/getsource.rb', line 30 def initialize(file_,line_) @file = file_ @line = line_ end |