Class: Panda::Editor::Blocks::Base
- Inherits:
-
Object
- Object
- Panda::Editor::Blocks::Base
- Includes:
- ActionView::Helpers::SanitizeHelper, ActionView::Helpers::TagHelper
- Defined in:
- lib/panda/editor/blocks/base.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(data, options = {}) ⇒ Base
constructor
A new instance of Base.
- #render ⇒ Object
Constructor Details
#initialize(data, options = {}) ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/panda/editor/blocks/base.rb', line 12 def initialize(data, = {}) @data = data @options = end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
10 11 12 |
# File 'lib/panda/editor/blocks/base.rb', line 10 def data @data end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/panda/editor/blocks/base.rb', line 10 def @options end |
Instance Method Details
#render ⇒ Object
17 18 19 |
# File 'lib/panda/editor/blocks/base.rb', line 17 def render '' end |