Class: Terraspace::Terraform::RemoteState::Unresolved

Inherits:
Object
  • Object
show all
Defined in:
lib/terraspace/terraform/remote_state/unresolved.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*_args, &_block) ⇒ Object



32
33
34
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 32

def method_missing(*_args, &_block)
  self
end

Instance Method Details

#inspectObject



28
29
30
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 28

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

#nil?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 24

def nil?
  true
end

#respond_to?(_message, _include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 36

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

#to_aObject



3
4
5
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 3

def to_a
  []
end

#to_aryObject



7
8
9
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 7

def to_ary
  []
end

#to_fObject



16
17
18
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 16

def to_f
  0.0
end

#to_iObject



20
21
22
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 20

def to_i
  0
end

#to_sObject Also known as: to_str



11
12
13
# File 'lib/terraspace/terraform/remote_state/unresolved.rb', line 11

def to_s
  "(unresolved)" # always returned as part of first unresolved processing pass
end