Class: PryMacro::MacroString

Inherits:
Struct
  • Object
show all
Defined in:
lib/pry-macro.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



6
7
8
# File 'lib/pry-macro.rb', line 6

def command
  @command
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/pry-macro.rb', line 6

def name
  @name
end