
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Homepage: http://github.com/vitaly/lazyeval/
This GEM allows to call methods lazily. The actual work will not be performed until the result is used. There's no promise/force semantics, just a single call (or block) is stored and executed the first time the (lazy) result is accessed.
user = User.lazy.find(:first) # will not access a db
puts user.name # this will actually perform the find and then get the name from
# the result
user_name = User.lazy { |user| user.find(:first).user_name } # no db access
puts user_name # db will be accessed here
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)NOTE: do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
Copyright (c) 2009-2013 Vitaly Kushner. See LICENSE.txt for details.
FAQs
Unknown package
We found that lazyeval demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.