lib/code/object/parameter.rb in code-ruby-1.0.0 vs lib/code/object/parameter.rb in code-ruby-1.1.0

- old
+ new

@@ -1,23 +1,19 @@ # frozen_string_literal: true class Code class Object class Parameter < Object - def initialize(*args, **_kargs, &_block) + def initialize(*args, **_kargs, &) @raw = Dictionary.new(args.first.presence || {}) end def code_name String.new(raw.code_get(String.new(:name))) end def code_regular? Boolean.new(raw.code_get(String.new(:regular?))) - end - - def code_keyword? - Boolean.new(raw.code_get(String.new(:keyword?))) end def code_keyword? Boolean.new(raw.code_get(String.new(:keyword?))) end