class Rubygoal::Formation::FormationDSL

Public Class Methods

apply(formation, &block) click to toggle source
# File lib/rubygoal/formation/formation_dsl.rb, line 4
def self.apply(formation, &block)
  dsl = self.new(formation)
  dsl.instance_eval(&block)
  dsl.apply
end

Private Instance Methods

field_height() click to toggle source
# File lib/rubygoal/formation/formation_dsl.rb, line 16
def field_height
  100.0
end
field_width() click to toggle source
# File lib/rubygoal/formation/formation_dsl.rb, line 12
def field_width
  100.0
end