Class: BootstrapHamlHelpers::Scaffolding::Container

Inherits:
Component::Base show all
Defined in:
app/models/bootstrap_haml_helpers/scaffolding/container.rb

Instance Attribute Summary

Attributes inherited from Component::Base

#attributes, #component_options, #content, #content_block, #content_string, #controller, #output_buffer

Instance Method Summary collapse

Methods inherited from Component::Base

#add_attribute, #add_attributes, #block_or_string_content, build, #build, #content_type, init_context, #initialize, teardown_context, #view_context, view_context, view_context=, #view_context=

Methods included from Component::InheritableTraits

included

Constructor Details

This class inherits a constructor from BootstrapHamlHelpers::Component::Base

Instance Method Details

#default_css_classObject



7
8
9
# File 'app/models/bootstrap_haml_helpers/scaffolding/container.rb', line 7

def default_css_class
  fluid? ? 'container-fluid' : 'container'
end