Class: Senren::Rails::Registry::Component
- Inherits:
-
Struct
- Object
- Struct
- Senren::Rails::Registry::Component
- Defined in:
- lib/senren/rails/registry.rb
Instance Attribute Summary collapse
-
#accessibility ⇒ Object
Returns the value of attribute accessibility.
-
#avoid ⇒ Object
Returns the value of attribute avoid.
-
#can_have_client ⇒ Object
Returns the value of attribute can_have_client.
-
#category ⇒ Object
Returns the value of attribute category.
-
#client ⇒ Object
Returns the value of attribute client.
-
#controller ⇒ Object
Returns the value of attribute controller.
-
#depends_on ⇒ Object
Returns the value of attribute depends_on.
-
#files ⇒ Object
Returns the value of attribute files.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pairs_with ⇒ Object
Returns the value of attribute pairs_with.
-
#stub ⇒ Object
Returns the value of attribute stub.
-
#use_for ⇒ Object
Returns the value of attribute use_for.
-
#variants ⇒ Object
Returns the value of attribute variants.
Instance Method Summary collapse
Instance Attribute Details
#accessibility ⇒ Object
Returns the value of attribute accessibility
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def accessibility @accessibility end |
#avoid ⇒ Object
Returns the value of attribute avoid
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def avoid @avoid end |
#can_have_client ⇒ Object
Returns the value of attribute can_have_client
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def can_have_client @can_have_client end |
#category ⇒ Object
Returns the value of attribute category
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def category @category end |
#client ⇒ Object
Returns the value of attribute client
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def client @client end |
#controller ⇒ Object
Returns the value of attribute controller
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def controller @controller end |
#depends_on ⇒ Object
Returns the value of attribute depends_on
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def depends_on @depends_on end |
#files ⇒ Object
Returns the value of attribute files
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def files @files end |
#name ⇒ Object
Returns the value of attribute name
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def name @name end |
#pairs_with ⇒ Object
Returns the value of attribute pairs_with
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def pairs_with @pairs_with end |
#stub ⇒ Object
Returns the value of attribute stub
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def stub @stub end |
#use_for ⇒ Object
Returns the value of attribute use_for
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def use_for @use_for end |
#variants ⇒ Object
Returns the value of attribute variants
14 15 16 |
# File 'lib/senren/rails/registry.rb', line 14 def variants @variants end |
Instance Method Details
#client? ⇒ Boolean
17 |
# File 'lib/senren/rails/registry.rb', line 17 def client? = client == true |
#stub? ⇒ Boolean
16 |
# File 'lib/senren/rails/registry.rb', line 16 def stub? = stub == true |
#to_h_full ⇒ Object
19 20 21 |
# File 'lib/senren/rails/registry.rb', line 19 def to_h_full to_h.merge(stub: stub?, client: client?) end |