Class: DraftjsExporter::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/draftjs_exporter/command.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



3
4
5
# File 'lib/draftjs_exporter/command.rb', line 3

def data
  @data
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



3
4
5
# File 'lib/draftjs_exporter/command.rb', line 3

def index
  @index
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/draftjs_exporter/command.rb', line 3

def name
  @name
end