Class: Phaedra::Initializers::Registration

Inherits:
Struct
  • Object
show all
Defined in:
lib/phaedra/initializers_module.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



3
4
5
# File 'lib/phaedra/initializers_module.rb', line 3

def block
  @block
end

#originObject

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



3
4
5
# File 'lib/phaedra/initializers_module.rb', line 3

def origin
  @origin
end

#priorityObject

Returns the value of attribute priority

Returns:

  • (Object)

    the current value of priority



3
4
5
# File 'lib/phaedra/initializers_module.rb', line 3

def priority
  @priority
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/phaedra/initializers_module.rb', line 9

def to_s
  "#{owner}:#{priority} for #{block}"
end