Skip to content

Commit

Permalink
Replace private with undef
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Aug 2, 2019
1 parent 9ce4222 commit 0985603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/dry/types/constructor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ module Types
class Constructor < Nominal
include Dry::Equalizer(:type, :options, inspect: false)

private :meta

# @return [#call]
attr_reader :fn

# @return [Type]
attr_reader :type

undef :constrained?
undef :constrained?, :meta

# @param [Builder, Object] input
# @param [Hash] options
Expand Down
2 changes: 1 addition & 1 deletion lib/dry/types/lax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Lax
include Printable
include Dry::Equalizer(:type, inspect: false)

private :options, :constructor
undef :options, :constructor

# @param [Object] input
#
Expand Down

0 comments on commit 0985603

Please sign in to comment.