lib/expressir/model/statements/case.rb in expressir-0.2.2 vs lib/expressir/model/statements/case.rb in expressir-0.2.3

- old
+ new

@@ -1,14 +1,14 @@ module Expressir module Model module Statements class Case - attr_accessor :selector + attr_accessor :expression attr_accessor :actions attr_accessor :otherwise_statement def initialize(options = {}) - @selector = options[:selector] + @expression = options[:expression] @actions = options[:actions] @otherwise_statement = options[:otherwise_statement] end end end \ No newline at end of file