Module: SimpleModelView

Extended by:
ActiveSupport::Autoload
Defined in:
lib/simple_model_view/builder_helpers.rb,
lib/simple_model_view.rb,
lib/simple_model_view/railtie.rb,
lib/simple_model_view/version.rb,
lib/simple_model_view/value_formatter.rb,
lib/simple_model_view/template_helpers.rb,
lib/simple_model_view/action_view_helpers.rb,
lib/simple_model_view/resource_table_builder.rb,
lib/simple_model_view/collection_table_builder.rb,
lib/simple_model_view/action_view_helper_builder.rb,
lib/simple_model_view/collection_table_row_builder.rb,
lib/simple_model_view/collection_table_header_builder.rb

Overview

rubocop:disable

Defined Under Namespace

Modules: ActionViewHelpers, BuilderHelpers, TemplateHelpers Classes: ActionViewHelperBuilder, CollectionTableBuilder, CollectionTableHeaderBuilder, CollectionTableRowBuilder, Railtie, ResourceTableBuilder, ValueFormatter

Constant Summary collapse

VERSION =
'0.1.5'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.collection_header_htmlObject

Returns the value of attribute collection_header_html.



33
34
35
# File 'lib/simple_model_view.rb', line 33

def collection_header_html
  @collection_header_html
end

.collection_table_htmlObject

Returns the value of attribute collection_table_html.



32
33
34
# File 'lib/simple_model_view.rb', line 32

def collection_table_html
  @collection_table_html
end

.collection_wrapper_htmlObject

Returns the value of attribute collection_wrapper_html.



34
35
36
# File 'lib/simple_model_view.rb', line 34

def collection_wrapper_html
  @collection_wrapper_html
end

.formatterObject

Returns the value of attribute formatter.



40
41
42
# File 'lib/simple_model_view.rb', line 40

def formatter
  @formatter
end

.resource_label_htmlObject

Returns the value of attribute resource_label_html.



37
38
39
# File 'lib/simple_model_view.rb', line 37

def resource_label_html
  @resource_label_html
end

.resource_table_htmlObject

Returns the value of attribute resource_table_html.



35
36
37
# File 'lib/simple_model_view.rb', line 35

def resource_table_html
  @resource_table_html
end

.resource_value_htmlObject

Returns the value of attribute resource_value_html.



38
39
40
# File 'lib/simple_model_view.rb', line 38

def resource_value_html
  @resource_value_html
end

.resource_wrapper_htmlObject

Returns the value of attribute resource_wrapper_html.



36
37
38
# File 'lib/simple_model_view.rb', line 36

def resource_wrapper_html
  @resource_wrapper_html
end

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



42
43
44
# File 'lib/simple_model_view.rb', line 42

def setup
  yield self
end