Class: Phaedra::Initializers::Registration
- Inherits:
-
Struct
- Object
- Struct
- Phaedra::Initializers::Registration
- Defined in:
- lib/phaedra/initializers_module.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#priority ⇒ Object
Returns the value of attribute priority.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
3 4 5 |
# File 'lib/phaedra/initializers_module.rb', line 3 def block @block end |
#origin ⇒ Object
Returns the value of attribute origin
3 4 5 |
# File 'lib/phaedra/initializers_module.rb', line 3 def origin @origin end |
#priority ⇒ Object
Returns the value of attribute priority
3 4 5 |
# File 'lib/phaedra/initializers_module.rb', line 3 def priority @priority end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/phaedra/initializers_module.rb', line 9 def to_s "#{owner}:#{priority} for #{block}" end |