Skip to content
Lazy parse data into memoized attributes
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
lib
test
.gitignore
.rubocop.yml
.rubocop_todo.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
structure.gemspec

README.md

Structure

CircleCI

Structure is a tiny library that helps you lazy parse data into thread-safe, memoized attributes.

class Random
  include Structure

  attribute :value do
    sleep rand
    rand
  end
end
You can’t perform that action at this time.