module WWWJDic::ParsableDuckType

This module represents the parsable duck type element for testing purposes.

Author

Marco Bresciani

Copyright

Copyright © 2014, 2015, 2016, 2017, 2018, 2019 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
33 def test_parsable_duck_type
34   subject.must_respond_to :parse unless subject.nil?
35 end