Sha256: 99daa19093d81782e5f86f70b17d2601382dbbd8afd78f5500c20c91bbf958fd

Contents?: true

Size: 186 Bytes

Versions: 44

Compression:

Stored size: 186 Bytes

Contents

module Lookbook
  class HiddenTag < YardTag
    def value
      text != "false"
    end

    def to_s
      value ? "true" : "false"
    end

    alias_method :to_bool, :value
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
lookbook-2.3.4 lib/lookbook/tags/hidden_tag.rb
lookbook-2.3.3 lib/lookbook/tags/hidden_tag.rb
lookbook-2.3.2 lib/lookbook/tags/hidden_tag.rb
lookbook-2.3.0 lib/lookbook/tags/hidden_tag.rb
lookbook-2.2.2 lib/lookbook/tags/hidden_tag.rb
lookbook-2.2.1 lib/lookbook/tags/hidden_tag.rb
lookbook-2.2.0 lib/lookbook/tags/hidden_tag.rb
lookbook-2.1.1 lib/lookbook/tags/hidden_tag.rb
lookbook-2.1.0 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.5 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.4 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.3 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.2 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.1 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.rc.3 lib/lookbook/tags/hidden_tag.rb
lookbook-1.5.5 lib/lookbook/tags/hidden_tag.rb
lookbook-1.5.4 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.rc.2 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.rc.1 lib/lookbook/tags/hidden_tag.rb