Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @element_hint ||= [:id, :name, :class, :text].each do |attr|
- next if !respond_to?(attr)
- end #<--- how do I assign the value here? to element hint from
- #<--- within the each block?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement