Fuel plugin to deploy Sensu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

case_switch_variable.rb 332B

123456789101112131415161718192021
  1. module Dentaku
  2. module AST
  3. class CaseSwitchVariable < Node
  4. def initialize(node)
  5. @node = node
  6. end
  7. def value(context={})
  8. @node.value(context)
  9. end
  10. def dependencies(context={})
  11. @node.dependencies(context)
  12. end
  13. def self.arity
  14. 1
  15. end
  16. end
  17. end
  18. end