Changeset 331 for EcnlProtoTool/trunk/mruby-1.3.0/mrblib/hash.rb
- Timestamp:
- Jan 21, 2018, 12:10:09 AM (6 years ago)
- Location:
- EcnlProtoTool/trunk/mruby-1.3.0
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/mruby-1.3.0/mrblib/hash.rb
r321 r331 155 155 # ISO 15.2.13.4.23 156 156 def replace(hash) 157 raise TypeError, "can't convert argument into Hash" unless hash.respond_to?(:to_hash) 157 158 self.clear 158 159 hash = hash.to_hash … … 201 202 end 202 203 ## 203 # Return the contents of this hash as a string. 204 # Return the contents of this hash as a string. 204 205 # 205 206 # ISO 15.2.13.4.30 (x)
Note:
See TracChangeset
for help on using the changeset viewer.