Class: Legalese

Inherits:
Object
  • Object
show all
Defined in:
lib/legalese.rb

Class Method Summary collapse

Class Method Details

.parse(text) ⇒ Object



9
10
11
12
# File 'lib/legalese.rb', line 9

def self.parse(text)
  match = LegaleseGrammarParser.new.parse(text.strip)
  match.content if match
end