MCPcopy Create free account
hub / github.com/existentialmutt/lt-ruby / set_defaults

Function set_defaults

rb-src/spec/client_spec.rb:80–84  ·  view source on GitHub ↗
(ops)

Source from the content-addressed store, hash-verified

78 end
79
80 def set_defaults(ops)
81 ops[:line] ||= 0
82 ops[:id] ||= 1
83 ops[:file] ||= "main.rb"
84 end
85
86 def make_data(ops)
87 set_defaults(ops)

Callers 2

make_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected