Class: Rust::Plots::Renderable

Inherits:
Object
  • Object
show all
Defined in:
lib/rust/plots/core.rb

Direct Known Subclasses

Axis, Grid

Instance Method Summary collapse

Constructor Details

#initializeRenderable

Returns a new instance of Renderable.



137
138
139
# File 'lib/rust/plots/core.rb', line 137

def initialize
    @options = Rust::Options.new
end

Instance Method Details

#[]=(option, value) ⇒ Object



141
142
143
144
145
# File 'lib/rust/plots/core.rb', line 141

def []=(option, value)
    @options[option] = value
    
    return self
end