Sha256: f23659f3b4bdb80a34d3ea195e8a355dd76e7963559b7637a63621336bc941ad

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

require "callgraphy"

Callgraphy.draw target: "rule_service" do
  methods_to_graph :public,
    :generate_lot_code => [:generate_lot_code_fragments, :reference_value_for],
    :interpret_mfg_date_from_lot => [:earliest_date, :interpret_from]

  methods_to_graph :private,
    :earliest_date => [:validate_length],
    :generate_lot_code_fragments => [],
    :interpret_from => [:validate_length],
    :reference_value_for => [],
    :validate_length => []

  constants_to_graph :callers,
    :code_generation_service => [:generate_lot_code, :interpret_mfg_date_from_lot]

  constants_to_graph :dependencies,
    :earliest_date => [:earliest_date_interpreter]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
callgraphy-0.2.1 sample/rule_service_graph.rb
callgraphy-0.2.0 sample/rule_service_graph.rb