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(={}) super(""){} if .is_a?(Numeric) || .is_a?(Array) @options = DEFAULT_OPTIONS.dup.merge(:style => ) else @options = DEFAULT_OPTIONS.dup.merge() end end |