Class: Component::Cell::Static
- Inherits:
-
Dynamic
- Object
- Dynamic
- Component::Cell::Static
- Defined in:
- app/concepts/component/cell/static.rb
Direct Known Subclasses
Br::Cell::Br, Button::Cell::Button, Div::Cell::Div, Header::Cell::Header, Heading::Cell::Heading, Icon::Cell::Icon, Img::Cell::Img, Input::Cell::Inline, Input::Cell::Input, Label::Cell::Label, Li::Cell::Li, Link::Cell::Link, Main::Cell::Main, Nav::Cell::Nav, Ol::Cell::Ol, Page::Cell::Content, Partial::Cell::Partial, Pg::Cell::Pg, Plain::Cell::Plain, Section::Cell::Section, Span::Cell::Span, Submit::Cell::Submit, Table::Cell::Table, Td::Cell::Td, Th::Cell::Th, Tr::Cell::Tr, Ul::Cell::Ul
Instance Method Summary collapse
-
#initialize(model = nil, options = {}) ⇒ Static
constructor
A new instance of Static.
Constructor Details
#initialize(model = nil, options = {}) ⇒ Static
Returns a new instance of Static.
4 5 6 7 8 9 10 11 12 |
# File 'app/concepts/component/cell/static.rb', line 4 def initialize(model=nil, ={}) super if [:dynamic] @static = false @component_class = "anonym-dynamic-component-cell" else @static = true end end |