Method: RGhost::Dash#initialize

Defined in:
lib/rghost/dash.rb

#initialize(options = {}) ⇒ Dash

Returns a new instance of Dash.



45
46
47
48
49
50
51
52
# File 'lib/rghost/dash.rb', line 45

def initialize(options={})
  super(""){}
  if options.is_a?(Numeric) || options.is_a?(Array)
    @options = DEFAULT_OPTIONS.dup.merge(:style => options)
  else
    @options = DEFAULT_OPTIONS.dup.merge(options)
  end
end