Class: Rundoc::CodeCommand::CommentArgs
- Inherits:
-
Object
- Object
- Rundoc::CodeCommand::CommentArgs
- Defined in:
- lib/rundoc/code_command/comment.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(line = nil) ⇒ CommentArgs
constructor
A new instance of CommentArgs.
Constructor Details
#initialize(line = nil) ⇒ CommentArgs
Returns a new instance of CommentArgs.
6 7 8 |
# File 'lib/rundoc/code_command/comment.rb', line 6 def initialize(line = nil) @line = line end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
4 5 6 |
# File 'lib/rundoc/code_command/comment.rb', line 4 def line @line end |