Class: OpenStruct
- Inherits:
-
Object
- Object
- OpenStruct
- Defined in:
- lib/sensu_generator/consul.rb
Instance Method Summary collapse
Instance Method Details
#remove_consul_indexes ⇒ Object
60 61 62 63 64 65 |
# File 'lib/sensu_generator/consul.rb', line 60 def remove_consul_indexes %w(CreateIndex ModifyIndex).each do |f| self.delete_field(f) if self.respond_to?(f) end self end |