Module: Cfer::Core::Functions::Fn

Extended by:
Cfer::Core::Functions
Defined in:
lib/cfer/core/functions.rb

Class Method Summary collapse

Methods included from Cfer::Core::Functions

and, cidr, equals, find_in_map, get_att, get_azs, if, join, not, notification_arns, or, ref, select, split, sub

Class Method Details

.method_missing(sym, *args) ⇒ Object



77
78
79
80
81
# File 'lib/cfer/core/functions.rb', line 77

def self.method_missing(sym, *args)
  method = sym.to_s.camelize
  raise "Fn::#{method} requires one argument" unless args.size == 1
  { "Fn::#{method}" => args.first }
end