module LanguageItemHashBehavior
we want to get some of the same behavior hashes has, so use this mixin specifically designed for Spaceship::Tunes::LanguageItem
because we use .each
Public Instance Methods
each() { |key, get_value(key: key)| ... }
click to toggle source
this is used to create a hash-like .each method.
# File precheck/lib/precheck/rule_processor.rb, line 258 def each(&block) keys.each { |key| yield(key, get_value(key: key)) } end