Skip to content

Commit

Permalink
Corrected module descriptions (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovk committed Dec 3, 2023
1 parent 17361ed commit d815e80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/active_yaml/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
require_relative 'parser'

module ActiveYaml
# no doc
# A module that allows you to use this gem,
# without creating instances of the class
module ClassMethods
include MethodMapper

Expand Down
3 changes: 2 additions & 1 deletion lib/active_yaml/method_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
require_relative 'yaml_hash'

module ActiveYaml
# no doc
# A module containing methods that allow you to track method calls,
# and compare them with data from the YML file
module MethodMapper
def method_missing(method, *args, &)
value = yaml_data[method.to_s]
Expand Down

0 comments on commit d815e80

Please sign in to comment.