lib/hss.rb
##
# Check for a match
# If the input matches, store the context for use in helpers
Check for a match
If the input matches, store the context for use in helpers
Check for a match If the input matches store the context for use in helpers
def check(input, short_form)
      return false unless input.match short_form
      x = Regexp.last_match
      @match_data = binding
      true
    end
def check ( input , short_form ) return false unless input . match short_form x = Regexp . last_match @match_data = binding true end
Check for a match
If the input matches, store the context for use in helpers
Check for a match If the input matches store the context for use in helpers
input
short_form