Skip to content

add default proc options for hashes#136

Open
seancookr wants to merge 4 commits into1.1from
allow-hash-properties-to-have-a-default-proc
Open

add default proc options for hashes#136
seancookr wants to merge 4 commits into1.1from
allow-hash-properties-to-have-a-default-proc

Conversation

@seancookr
Copy link
Copy Markdown

No description provided.

Comment thread lib/dolly/property.rb Outdated
end

def procable?
default_proc? && default.is_a?(Hash)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should better check for the class_name as that indicates if is a hash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants