Class: Osheet::Format::Custom

Inherits:
Object
  • Object
show all
Defined in:
lib/osheet/format/custom.rb

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ Custom

Returns a new instance of Custom.



5
6
7
# File 'lib/osheet/format/custom.rb', line 5

def initialize(type)
  @type = type
end

Instance Method Details

#keyObject



10
# File 'lib/osheet/format/custom.rb', line 10

def key; "custom_#{@type}"; end

#styleObject



9
# File 'lib/osheet/format/custom.rb', line 9

def style; @type; end