• R/O
  • SSH
  • HTTPS

molby: Commit


Commit MetaInfo

Revision595 (tree)
Time2016-04-28 00:59:54
Authortoshinagata1964

Log Message

Ruby: description of Molecule#set_molecule is added, and that of Molecule#set_parameter_attr is removed (the latter method is used only internally)

Change Summary

Incremental Difference

--- trunk/Makefile (revision 594)
+++ trunk/Makefile (revision 595)
@@ -166,9 +166,9 @@
166166
167167 ifeq ($(TARGET_PLATFORM),MSW)
168168 setup: build/release/$(PRODUCT_DIR)/$(FINAL_EXECUTABLE)
169- mkdir -p ../Products
170- (/c/Program\ Files\ \(x86\)/Inno\ Setup\ 5/iscc molby.iss && mv Output/SetupMolbyWin.exe ../Products)
171- (cd build/release/$(PRODUCT_DIR) && rm -rf $(MAKEDIR)/../Products/MolbyWin.zip && zip -r $(MAKEDIR)/../Products/MolbyWin.zip * -x \*.DS_Store \*.svn*)
169+ mkdir -p ../latest_binaries
170+ (/c/Program\ Files\ \(x86\)/Inno\ Setup\ 5/iscc molby.iss && mv Output/SetupMolbyWin.exe ../latest_binaries)
171+ (cd build/release/$(PRODUCT_DIR) && rm -rf $(MAKEDIR)/../latest_binaries/MolbyWin.zip && zip -r $(MAKEDIR)/../latest_binaries/MolbyWin.zip * -x \*.DS_Store \*.svn*)
172172 endif
173173
174174 clean:
--- trunk/Documents/src/molby_rb/Molecule.html (revision 594)
+++ trunk/Documents/src/molby_rb/Molecule.html (revision 595)
@@ -2922,21 +2922,22 @@
29222922 </div>
29232923
29242924 <div id="method-set_name" class="method-detail">
2925-<a name="set_name"></a>
2925+<a name="set_molecule"></a>
29262926 <div class="method-heading">
2927-<span class="method-name">set_name(name) &rarr; self</span>
2927+<span class="method-name">set_molecule(Molecule) &rarr; self</span>
29282928 </div>
29292929 <div class="method-description">
29302930 <p>
2931-Set the name of an untitled molecule. This method requires that the molecule is associated with a window and does not have an associated file yet. Otherwise, an exception is thrown.
2931+Let self be a duplicated copy of the given molecule. The present molecule must be empty. This method is intended to be used exclusively for associating a new document with an existing molecule.
29322932 </p>
29332933 </div>
29342934 </div>
29352935
2936-<div id="method-set_parameter_attr" class="method-detail">
2937-<a name="set_parameter_attr"></a>
2936+
2937+<div id="method-set_name" class="method-detail">
2938+<a name="set_name"></a>
29382939 <div class="method-heading">
2939-<span class="method-name">set_parameter_attr(type, index, key, value, src) &rarr; value</span>
2940+<span class="method-name">set_name(name) &rarr; self</span>
29402941 </div>
29412942 <div class="method-description">
29422943 <p>
Show on old repository browser