Class: Textbringer::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/textbringer/commands.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



7
8
9
# File 'lib/textbringer/commands.rb', line 7

def block
  @block
end

#docObject

Returns the value of attribute doc

Returns:

  • (Object)

    the current value of doc



7
8
9
# File 'lib/textbringer/commands.rb', line 7

def doc
  @doc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/textbringer/commands.rb', line 7

def name
  @name
end