Sha256: c36cc05355e46e517eef3656b28b8785b4fde76164ccfe137104670e2f5c2a6d

Contents?: true

Size: 599 Bytes

Versions: 89

Compression:

Stored size: 599 Bytes

Contents

module Terraspace::Terraform::RemoteState
  class Unresolved
    def to_a
      []
    end

    def to_ary
      []
    end

    def to_s
      "(unresolved)" # always returned as part of first unresolved processing pass
    end
    alias_method :to_str, :to_s # ERB requires to_str

    def to_f
      0.0
    end

    def to_i
      0
    end

    def nil?
      true
    end

    def inspect
      format("#<%s:0x%x>", self.class, object_id)
    end

    def method_missing(*_args, &_block)
      self
    end

    def respond_to?(_message, _include_private = false)
      true
    end
  end
end

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
terraspace-2.2.17 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.16 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.15 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.14 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.13 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.12 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.11 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.10 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.9 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.8 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.7 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.6 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.5 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.4 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.3 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.2 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.1 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.2.0 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.1.7 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-2.1.6 lib/terraspace/terraform/remote_state/unresolved.rb