Class: Rust::Plots::Renderable

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

Direct Known Subclasses

Axis, Grid

Instance Method Summary collapse

Constructor Details

#initializeRenderable

Returns a new instance of Renderable.



305
306
307
# File 'lib/rust-plots.rb', line 305

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

Instance Method Details

#[]=(option, value) ⇒ Object



309
310
311
312
313
# File 'lib/rust-plots.rb', line 309

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