class ClippingsPluck::Location
Public Instance Methods
normalize()
click to toggle source
# File lib/clippings_pluck/location.rb, line 3 def normalize range? ? highest_of_range : self end
Private Instance Methods
highest_of_range()
click to toggle source
# File lib/clippings_pluck/location.rb, line 13 def highest_of_range split("-").last end
range?()
click to toggle source
# File lib/clippings_pluck/location.rb, line 9 def range? include?("-") end