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.0.0.beta.9 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.8 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.7 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.6 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.5 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.4 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.3 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.2 lib/lookbook/tags/hidden_tag.rb
lookbook-1.5.3 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.1 lib/lookbook/tags/hidden_tag.rb
lookbook-1.5.2 lib/lookbook/tags/hidden_tag.rb
lookbook-2.0.0.beta.0 lib/lookbook/tags/hidden_tag.rb
lookbook-1.5.1 lib/lookbook/tags/hidden_tag.rb
lookbook-1.5.0 lib/lookbook/tags/hidden_tag.rb
lookbook-1.4.5 lib/lookbook/tags/hidden_tag.rb
lookbook-1.4.4 lib/lookbook/tags/hidden_tag.rb
lookbook-1.4.3 lib/lookbook/tags/hidden_tag.rb
lookbook-1.4.2 lib/lookbook/tags/hidden_tag.rb
lookbook-1.4.1 lib/lookbook/tags/hidden_tag.rb
lookbook-1.4.0 lib/lookbook/tags/hidden_tag.rb