Class: Rough::Op

Inherits:
Struct
  • Object
show all
Defined in:
lib/rough/op.rb

Overview

A single drawing primitive: :move, :bcurveTo, or :lineTo

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



5
6
7
# File 'lib/rough/op.rb', line 5

def data
  @data
end

#opObject

Returns the value of attribute op

Returns:

  • (Object)

    the current value of op



5
6
7
# File 'lib/rough/op.rb', line 5

def op
  @op
end