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
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def accessibility @accessibility end |
#avoid ⇒ Object
Returns the value of attribute avoid
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def avoid @avoid end |
#can_have_client ⇒ Object
Returns the value of attribute can_have_client
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def can_have_client @can_have_client end |
#category ⇒ Object
Returns the value of attribute category
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def category @category end |
#client ⇒ Object
Returns the value of attribute client
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def client @client end |
#controller ⇒ Object
Returns the value of attribute controller
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def controller @controller end |
#depends_on ⇒ Object
Returns the value of attribute depends_on
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def depends_on @depends_on end |
#files ⇒ Object
Returns the value of attribute files
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def files @files end |
#name ⇒ Object
Returns the value of attribute name
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def name @name end |
#pairs_with ⇒ Object
Returns the value of attribute pairs_with
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def pairs_with @pairs_with end |
#stub ⇒ Object
Returns the value of attribute stub
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def stub @stub end |
#use_for ⇒ Object
Returns the value of attribute use_for
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def use_for @use_for end |
#variants ⇒ Object
Returns the value of attribute variants
17 18 19 |
# File 'lib/senren/rails/registry.rb', line 17 def variants @variants end |
Instance Method Details
#client? ⇒ Boolean
24 |
# File 'lib/senren/rails/registry.rb', line 24 def client? = client == true |
#stub? ⇒ Boolean
23 |
# File 'lib/senren/rails/registry.rb', line 23 def stub? = stub == true |
#to_h_full ⇒ Object
26 27 28 |
# File 'lib/senren/rails/registry.rb', line 26 def to_h_full to_h.merge(stub: stub?, client: client?) end |