Class: GreekFire::MeasureSet

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Conversion, Enumerable
Defined in:
app/models/greek_fire/measure_set.rb

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



12
13
14
15
16
17
18
# File 'app/models/greek_fire/measure_set.rb', line 12

def each(&block)
  return enum_for(:each) unless block_given?

  self.items.each do |x|
    block.call(x)
  end
end

#to_partial_pathObject



8
9
10
# File 'app/models/greek_fire/measure_set.rb', line 8

def to_partial_path
  GreekFire::MeasureSet._to_partial_path
end