Skip to content

Commit 65264b2

Browse files
committed
first edition: some fixes2
1 parent ece4e03 commit 65264b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

book/classObject.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ \subsection{Python}
445445

446446
\subsection{Ruby}
447447

448-
Static fields are defined inside the class block using \keyword[Ruby]{\@\@}, while dynamic fields are defined inside the constructor or the class block using the keyword \keyword[Ruby]{\@}.
448+
Static fields are defined inside the class block using \keyword[Ruby]{@@}, while dynamic fields are defined inside the constructor or the class block using the keyword \keyword[Ruby]{@}.
449449

450450
\lstinputlisting[language={[KB]Ruby}, linerange={3-9,11-11,25-25}, style=codeStyle]{../codes/ruby/clsobj/person.rb}
451451

book/oop4coders.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
\cover{../img/cover.jpg}
1616
\license{../img/cc-by-sa.png}
1717

18-
%\setplainversion
18+
\setplainversion
1919

2020
\begin{document}
2121

@@ -65,6 +65,7 @@
6565
\addcontentsline{toc}{chapter}{Index}
6666

6767
\cleardoublepage
68+
\pagestyle{empty}
6869
\vspace*{\fill}
6970
\Huge\color{indigo}
7071
\begin{center}

0 commit comments

Comments
 (0)