Skip to content

Commit

Permalink
allow single method name for Class#provides_interface?:
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Oct 14, 2012
1 parent 39cdc5a commit d24bf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/contracts.fy
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Class {
"""

pim = Set new: $ provided_interface_methods map: @{ message_name to_s } + instance_methods
methods all?: |m| { pim includes?: (m message_name to_s) }
methods to_a all?: |m| { pim includes?: (m message_name to_s) }
}

def missing_methods_for_interface: methods {
Expand Down

0 comments on commit d24bf69

Please sign in to comment.