Class: Flammarion::Pane

Inherits:
Object
  • Object
show all
Includes:
Writeable
Defined in:
lib/flammarion/pane.rb

Overview

A reference to some writeable area within the Engraving

See Also:

Instance Attribute Summary

Attributes included from Writeable

#engraving

Instance Method Summary collapse

Methods included from Writeable

#break, #button, #button_box, #callback_link, #checkbox, #clear, #close, #dropdown, #embedded_button, #emoji, #gets, #hide, #highlight, #html, #icon, #image, #input, #js, #live_reload_template, #map, #markdown, #orientation=, #pane, #plot, #puts, #replace, #script, #script_src, #search, #send, #send_json, #show, #status, #style, #subpane, #table, #template

Constructor Details

#initialize(engraving, name, options = {}) ⇒ Pane

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Pane



11
12
13
14
15
# File 'lib/flammarion/pane.rb', line 11

def initialize(engraving, name, options = {})
  @engraving = engraving
  @pane_name = name
  @options = {}
end