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



5
6
7
# File 'lib/textbringer/commands.rb', line 5

def block
  @block
end

#docObject

Returns the value of attribute doc

Returns:

  • (Object)

    the current value of doc



5
6
7
# File 'lib/textbringer/commands.rb', line 5

def doc
  @doc
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/textbringer/commands.rb', line 5

def name
  @name
end