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.



236
237
238
# File 'lib/rust-plots.rb', line 236

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

Instance Method Details

#[]=(option, value) ⇒ Object



240
241
242
243
244
# File 'lib/rust-plots.rb', line 240

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