Class: Puncsig::FileReport

Inherits:
Object
  • Object
show all
Defined in:
lib/puncsig.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, method_sigs) ⇒ FileReport

Returns a new instance of FileReport.



6
7
8
9
# File 'lib/puncsig.rb', line 6

def initialize(filename, method_sigs)
  @filename = filename
  @method_sigs = method_sigs
end

Instance Attribute Details

#filenameObject (readonly)

Returns the value of attribute filename.



4
5
6
# File 'lib/puncsig.rb', line 4

def filename
  @filename
end

Instance Method Details

#method_namesObject



11
12
13
# File 'lib/puncsig.rb', line 11

def method_names
  @method_sigs.keys
end

#method_sigsObject

Not sure this is how it’ll end up…



16
17
18
# File 'lib/puncsig.rb', line 16

def method_sigs
  @method_sigs
end