Sha256: b1a6daff8d493c41d26785eb1f99de87fd0a3d996c80a177d818368407654b5d

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 Bytes

Contents

module Danica
  class Wrapper::Container
    include Common
    attr_accessor :content

    delegate :to_f, :contentd?, :to, :to_tex, :to_gnu, :priority, :grouped?,
             :signaled?, :constant?, :valued?, :*, :+, :-, :/, :**, :-@,
             :variables, :variable?, to: :content

    default_value :container?, true

    def initialize(content)
      @content = content
    end

    def ==(other)
      return content == other unless other.is_a?(self.class)
      content == other.content
    end
  end
end



Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danica-2.7.4 lib/danica/wrapper/container.rb
danica-2.7.3 lib/danica/wrapper/container.rb
danica-2.7.2 lib/danica/wrapper/container.rb