module WWWJDic::ParsableDuckType
This module represents the parsable duck type element for testing purposes.
- Author
- Copyright
-
© 2014-2021 Marco Bresciani
- License
-
GNU General Public License version 3
Public Instance Methods
test_parsable_duck_type()
click to toggle source
The method that tests the parsable duck type interface and its parse
method.
# File test/wwwjdic/test_parsable_duck_type.rb 37 def test_parsable_duck_type 38 _(subject).must_respond_to :parse unless subject.nil? 39 end