Sha256: 5f283db0b634d54e122c6fd346210ec636669f761642e2a1eb0e51dea62dce1b
Contents?: true
Size: 1.44 KB
Versions: 1
Compression:
Stored size: 1.44 KB
Contents
# frozen_string_literal: true #-- # wwwjdic # rubocop:disable Style/AsciiComments # © 2014 Marco Bresciani # rubocop:enable Style/AsciiComments # This file is part of wwwjdic. # # wwwjdic is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # wwwjdic is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with wwwjdic. If not, see <http://www.gnu.org/licenses/>. # # SPDX-FileCopyrightText: 2014 Marco Bresciani # # SPDX-License-Identifier: GPL-3.0-or-later #++ module WWWJDic # This module represents the parsable duck type element for testing # purposes. # # Author:: {Marco Bresciani}[mailto:marcobresciani_1974@libero.it] # Copyright:: Copyright (C) 2014, 2015, 2016, 2017, 2018, 2019, 2020 Marco Bresciani # License:: GNU General Public License version 3 module ParsableDuckType # The method that tests the parsable duck type interface and its # +parse+ method. def test_parsable_duck_type _(subject).must_respond_to :parse unless subject.nil? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wwwjdic-16.0.0 | test/wwwjdic/test_parsable_duck_type.rb |