Class: Twiddler::TargetBuilder::ShortWords

Inherits:
RegexpBuilder show all
Defined in:
lib/twiddler/target_builder.rb

Instance Method Summary collapse

Methods inherited from RegexpBuilder

#go, #match_any_of

Methods inherited from Builder

#go, #initialize, #output_to, register, registered

Constructor Details

This class inherits a constructor from Twiddler::TargetBuilder::Builder

Instance Method Details

#filenameObject



59
60
61
# File 'lib/twiddler/target_builder.rb', line 59

def filename
  "Short Words"
end

#regexpObject



63
64
65
# File 'lib/twiddler/target_builder.rb', line 63

def regexp
  /^.{1,5}$/
end