Is there a equivalent in the Ruby standard API for Java's Collections.unmodifiableList and Collections.unmodifiableMap?
Ruby equivalent of Java's Collections.unmodifiableList and Collections.unmodifiableMap
211 views Asked by razenha At
2
Use
freezeAPI:You can also use the hamster gem for other immutable data structures.