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.



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

def initialize(type)
  @type = type
end

Instance Method Details

#keyObject



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

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

#styleObject



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

def style; @type; end