Class: Anaximander::Discovery::Assets
- Inherits:
-
Object
- Object
- Anaximander::Discovery::Assets
- Extended by:
- Forwardable
- Includes:
- Comparable, Enumerable
- Defined in:
- lib/anaximander/discovery/assets.rb
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #each(&block) ⇒ Object
-
#initialize(page) ⇒ Assets
constructor
A new instance of Assets.
Constructor Details
#initialize(page) ⇒ Assets
Returns a new instance of Assets.
9 10 11 |
# File 'lib/anaximander/discovery/assets.rb', line 9 def initialize(page) @page = page end |
Instance Method Details
#<=>(other) ⇒ Object
17 18 19 |
# File 'lib/anaximander/discovery/assets.rb', line 17 def <=>(other) to_a <=> other.to_a end |
#each(&block) ⇒ Object
13 14 15 |
# File 'lib/anaximander/discovery/assets.rb', line 13 def each(&block) assets.each(&block) end |