Class: Rundoc::CodeCommand::CommentArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/rundoc/code_command/comment.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject (readonly)

Returns the value of attribute line.



4
5
6
# File 'lib/rundoc/code_command/comment.rb', line 4

def line
  @line
end