Class: BrainDamage::View::Display::Hidden

Inherits:
Templateable::FieldTemplateable show all
Defined in:
lib/generators/brain_damage/lib/views/displays/hidden.rb

Instance Attribute Summary

Attributes inherited from Templateable::FieldTemplateable

#partial_html, #type

Attributes inherited from Templateable::Base

#inner_html, #options, #template_file

Instance Method Summary collapse

Methods inherited from Templateable::FieldTemplateable

#empty_haml_path, #initialize, #method_missing, #render

Methods inherited from Templateable::Base

#indent, #initialize, #method_missing, #render, #render_erb_file, #render_erb_string, #render_template_file

Constructor Details

This class inherits a constructor from BrainDamage::Templateable::FieldTemplateable

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BrainDamage::Templateable::FieldTemplateable

Instance Method Details

#dirObject



8
9
10
# File 'lib/generators/brain_damage/lib/views/displays/hidden.rb', line 8

def dir
  __dir__
end

#label_guard?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/generators/brain_damage/lib/views/displays/hidden.rb', line 20

def label_guard?
  false
end

#show?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/generators/brain_damage/lib/views/displays/hidden.rb', line 12

def show?
  false
end

#show_label?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/generators/brain_damage/lib/views/displays/hidden.rb', line 16

def show_label?
  false
end