class Hocho::InventoryProviders::Ec2::HostnameTemplate

Attributes

instance[R]
vpc[R]

Public Class Methods

erb() click to toggle source
# File lib/hocho/inventory_providers/ec2.rb, line 22
def self.erb; @erb; end
erb=(x) click to toggle source
# File lib/hocho/inventory_providers/ec2.rb, line 23
def self.erb=(x); @erb = x; end
new(instance, vpc) click to toggle source
# File lib/hocho/inventory_providers/ec2.rb, line 27
def initialize(instance, vpc)
  @instance = instance
  @vpc = vpc
end

Public Instance Methods

result() click to toggle source
# File lib/hocho/inventory_providers/ec2.rb, line 34
def result()
  self.class.erb.result(binding)
end