class Shoulda::Matchers::Text
@private
Constants
- LIST_ITEM_REGEXP
Public Instance Methods
Source
# File lib/shoulda/matchers/util/word_wrap.rb, line 46 def indented? self =~ /\A +/ end
Source
# File lib/shoulda/matchers/util/word_wrap.rb, line 50 def list_item? self =~ LIST_ITEM_REGEXP end
Source
# File lib/shoulda/matchers/util/word_wrap.rb, line 54 def match_as_list_item match(LIST_ITEM_REGEXP) end