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-0.6.10 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.9 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.8 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.7 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.6 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.5 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.4 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.3 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.2 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.1 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.6.0 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.12 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.11 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.10 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.9 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.8 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.7 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.6 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.5 lib/terraspace/terraform/remote_state/unresolved.rb
terraspace-0.5.4 lib/terraspace/terraform/remote_state/unresolved.rb